package com.ecoolex.discount.sales.job.scheduler;

import com.ecoolex.discount.sales.core.service.QuanMaoService;
import com.ecoolex.discount.sales.core.service.YouWorldService;
import com.ecoolex.framework.scheduler.Job;
import com.ecoolex.framework.scheduler.JobComponent;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;


/**
 * 券猫刷新任务
 * 
 * @author shaon
 */
//@JobComponent
public class QuanMaoRefreshJob {

	private Logger log = LoggerFactory.getLogger(QuanMaoRefreshJob.class);

	@Autowired
	private QuanMaoService quanMaoService;

	//@Job(name = "discount.sales.QuanMaoRefreshJob.refreshAccountStatus", describe = "券猫刷新账户状态任务")
	public void refreshAccountStatus() {
		quanMaoService.refreshAccountStatus();
	}

	//@Job(name = "discount.sales.QuanMaoRefreshJob.refreshCards", describe = "券猫刷新卡信息任务")
	public void refreshCards() {
		quanMaoService.refreshCards();
	}
}